import {http} from '@/plugins/axios'

export function articleList(data:any){
    return http.request({
        url: '/article',
        method: 'get',
        params: data
    })
}
export function deleteArticle(id:number){
    return http.request({
        url: `/article/${id}`,
        method: 'delete'
    })
}
